import request from '@/utils/request'

//用于接口地址映射
export default {
    //生成统计数据(根据天)
    createStaDate(day) {
        return request({
            url: `/staservice/statistics-daily/registerCount/${day}`,
            method: 'post',
        })
    },
    //获取统计数据
    getDataSta(sarchObj){
        return request({
            url: `/staservice/statistics-daily/show/${sarchObj.type}/${sarchObj.begin}/${sarchObj.end}`,
            method: 'get',
        })
    }
}

